import { Module } from '@nestjs/common';
import { ChatService } from './chat.service';
import { ChatController } from './chat.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from 'src/users/entities/user.entity';
import { AuthModule } from 'src/auth/auth.module';
import { RedisModule } from 'src/common/redis.module';
import { PromoptWordsModule } from 'src/common/prompt.module';
import { BaiDuAiModule } from 'src/bai-du-ai/bai-du-ai.module';

@Module({
  imports: [TypeOrmModule.forFeature([User]), AuthModule, RedisModule, PromoptWordsModule, BaiDuAiModule],
  controllers: [ChatController],
  providers: [ChatService],
})
export class ChatModule { }
